package org.http.controller;

import org.http.annotation.Controller;
import org.http.annotation.Path;

/**
 * @author andy
 */
@Controller
@Path("/index")
public class IndexController {

    @Path("/index")
    public String index(String id) throws Exception {
        System.out.println(id);
        System.out.println("executed");
//        throw new Exception("null");
        return "index";
    }

}
